package sjd.ahsj.springbootmybatisplusoracle.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 电站
 * </p>
 *
 * @author zhanghaogao
 * @since 2018-10-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("i_factory")
@SuppressWarnings("serial")
public class IFactory extends SuperEntity<IFactory> {

    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "code")
    private String code;
    @ApiModelProperty(value = "图片地址")
    private String address;

    @ApiModelProperty(value = "英文名称")
    @TableField("en_name")
    private String enName;

}
